CREATE TABLE [dbo].[TTTIDO_EXVE]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[TI_DOCU] [dbo].[TD_VC_003] NOT NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTTIDO_EX__CO_US__2D729C23] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTTIDO_EX__FE_US__2E66C05C] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTTIDO_EX__CO_US__2F5AE495] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTTIDO_EX__FE_US__304F08CE] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTTIDO_EXVE] ADD CONSTRAINT [PK__TTTIDO_E__0290303D12FE9D09] PRIMARY KEY CLUSTERED  ([CO_EMPR], [TI_DOCU]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTTIDO_EXVE] ADD CONSTRAINT [FK__TTTIDO_EX__CO_EM__71F2AEF9] FOREIGN KEY ([CO_EMPR]) REFERENCES [dbo].[TMPARA_TESO] ([CO_EMPR])
GO
